package com.teamone.etl.accountant.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 财务管理(Finance)表实体类
 *
 * @author makejava
 * @since 2021-01-21 11:58:08
 */
@SuppressWarnings("serial")
public class Finance extends Model<Finance> {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 充值编号
     */
    private String code;
    /**
     * 企业名称
     */
    private String enterpriseName;
    /**
     * 姓名
     */
    private String name;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 订单金额
     */
    private BigDecimal orderPrice;
    /**
     * 支付方式(0:支付宝,1:微信)
     */
    private Integer payment;
    /**
     * 支付时间
     */
    private Date paymentTime;
    /**
     * 是否审核(0:未审核,1:审核通过,2:审核不通过)
     */
    private Integer isReview;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }

    public Integer getPayment() {
        return payment;
    }

    public void setPayment(Integer payment) {
        this.payment = payment;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public Integer getIsReview() {
        return isReview;
    }

    public void setIsReview(Integer isReview) {
        this.isReview = isReview;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}